---
title: crypto.Cipher()
api: crypto.Cipher.new
---

## Description

<Summary/>

## Syntax

``` js
new crypto.Cipher(
  algorithm,
  {
    key,
    iv,
  }
)
```

## Parameters

<Parameters/>

## See Also

* [crypto.Cipher](/reference/api/crypto/Cipher)
